package com.gxa.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gxa.common.validator.group.AddGroup;
import com.gxa.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NegativeOrZero;
import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("后台打卡记录模型")
@TableName("clock")
public class Clock {

    @TableField("id")
    @ApiModelProperty("打卡表id")
    private Integer id;

    @TableField("date")
    @ApiModelProperty("打卡日期")
    private Date date;

    @TableField("start_time")
    @ApiModelProperty("开始时间")
    private Date startTime;

    @TableField("end_time")
    @ApiModelProperty("结束时间")
    private Date endTime;


    @ApiModelProperty("打卡区域")
    private String area;


    @ApiModelProperty("支付方式")
    private String payment;


    @ApiModelProperty("用户表")
    private User user;






}
